package data.bean;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Database Entity Annotation.
 * A bean for database object must be annotated with this.
 * 
 * @author chuxiaoyuan
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface DatabaseEntity {

	// Table Name (Default not a table)
	public String tableName() default "";
}
